<script>
    import disel from './disel.png'
    import sel from './sel.png'
    export default {
        data() {
            return {
                disel,
                sel
            }
        },
        props:{
            check:{
                type:Boolean,
                default:false
            }
        },
        components: {},
        methods: {
            _sendFather() {
                this.$emit('clickBtn')
            }
        },
        mounted(){},
        created() {}
    }
</script>
<template>
    <div class="BaseCheckBox" @click.prevent.stop="_sendFather">
        <img v-if="check" class="check" :src="sel" alt="">
        <img v-else class="check" :src="disel" alt="">
    </div>
</template>
<style lang='scss'>
@import "BaseCheckBox";
</style>
